import org.apache.struts2.util.DateFormatter;


public class ForrestTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
//		String str = "org.hi.tripmodel.model.TripModel";
//		str = str.replaceAll(".model.",".action.") + "PageInfo";
		DateFormatter df = new DateFormatter();
    	df.setFormat("yyyyMMdd");
    	df.setDate(new java.util.Date());
//    	df.getFormattedDate()
		
		System.out.println(df.getFormattedDate());
	}

}
